import React from 'react'

import  {HashRouter as Router,Switch,Route} from  "react-router-dom" 
import Login  from './pages/Login'
import Teacher from './pages/Teacher'
import Student from './pages/Student'

export default function App() {
  return (
    <div>
        <Router>
            <Switch>
                <Route path="/" component={Login} exact></Route>
                <Route path="/student" component={Student} ></Route>
                <Route path="/teacher" component={Teacher} ></Route>
            </Switch>
        </Router>

    </div>
  )
}
